<!DOCTYPE html>
<!-- saved from url=(0038)http://m.paixie.net/member/addressinfo -->
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>新增地址</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="edge">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telphone=no, email=no">
		<meta name="renderer" content="webkit">
		<meta name="HandheldFriendly" content="true">
		<meta name="MobileOptimized" content="320">
		<meta name="screen-orientation" content="portrait">
		<meta name="x5-orientation" content="portrait">
		<meta name="full-screen" content="yes">
		<meta name="x5-fullscreen" content="true">
		<meta name="browsermode" content="application">
		<meta name="x5-page-mode" content="app">
		<meta name="msapplication-tap-highlight" content="no">
		<meta content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
		<link rel="stylesheet" href="__CSS__/member/menber.css" type="text/css">
		<!--<link rel="stylesheet" href="__CSS__/member/zip.touch.member2_0.addressinfo.v6912.css" type="text/css">-->
		<script type="text/javascript" src="__JS__/member/zepto.min.js"></script>
	</head>

	<body>
		<div class="body">
			<form id="MyForm" action="{:U('apply_return')}" method="post">
				<div class="m_header">
					<p> 
						<a class="bt_prev" href="javascript:window.history.back();void(0);">
							<span class="prev rotate45"></span>
							<span class="prev rotate135"></span>
						</a>
					</p>
					<h1 class="ellipsis bt_title">退货理由</h1>
					<p>
						<a class="bt_rtext" href="javascript::">
							提交
						</a>
					</p>
				</div>
				<div class="lib_content" id="js_lib_content" style="min-height: 620px;">
					<ul class="m_list m_list_form bg_white">
						<li>
							<label>
								退货理由
							</label>
							<textarea name="return_msg" id="return_msg" style="border: 1px solid;width: 100%;"></textarea>
							<input type="hidden" name="type" value="{$data.type}">
							<input type="hidden" name="order_id" value="{$data.order_id}">
							<input type="hidden" name="return_money" value="{$data.return_money}">
							<input type="hidden" name="cart_id" value="{$data.cart_id}">
							<div class="right text-v">
								<a class="m_icon m_icon_del" style="display: none;">
									<dfn class="rotate45"></dfn>
									<dfn class="rotate135"></dfn>
								</a>
							</div>
						</li>
					</ul>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
					<div class="placeholder"></div>
				</div>
				<div class="m_footer clear">
					<div class="copyright gray9">© 2014-2016 kaieers All Rights Reserved</div>
				</div>
			</div>
		</form>
		<script type="text/javascript" src="__JS__/member/zip.touch.member2_0.addressinfo.v473.js"></script>
		<script type="text/javascript">
			$(function(){
				$('.bt_rtext').click(function(){
					var obj = $('#MyForm'),
						return_msg = $('#return_msg').val();
					if(return_msg.length == 0){
						Model.alert('退货理由不能为空！');
					}else{
						$.post(
							obj.attr('action'),
							obj.serialize(),
							function(r){
								if(r.status){
									Model.alert(r.info, function(){
										window.location.href = r.url;
									});
								}
							}, 
						'json');
					}
				});
			});
		</script>
	</body>
</html>